package cn.iocoder.yudao.module.system.controller.admin.tenant.vo.order;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.util.*;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 租户订单 Response VO")
@Data
@ExcelIgnoreUnannotated
public class TenantOrderRespVO {

    @Schema(description = "订单编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "3694")
    private Long id;

    @Schema(description = "订单编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("订单编号")
    private String orderNo;

    @Schema(description = "订单内容")
    @ExcelProperty("订单内容")
    private String subject;

    @Schema(description = "订单数量")
    @ExcelProperty("订单数量")
    private Integer num;

    @Schema(description = "订单类型")
    private Integer orderType;

    @Schema(description = "业务类型")
    private String bizType;

    @Schema(description = "业务ID")
    private Long bizId;
//
//    @Schema(description = "规格ID", example = "4702")
//    private Long skuId;

    @Schema(description = "订单金额", example = "7141")
    @ExcelProperty("订单金额")
    private BigDecimal totalPrice;

    @Schema(description = "租户名称", example = "7141")
    @ExcelProperty("租户名称")
    private String tenantName;

    @Schema(description = "优惠金额", example = "22532")
    @ExcelProperty("优惠金额")
    private BigDecimal couponPrice;

    @Schema(description = "支付金额", requiredMode = Schema.RequiredMode.REQUIRED, example = "16025")
    @ExcelProperty("支付金额")
    private BigDecimal payPrice;

    @Schema(description = "支付方式", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("支付方式")
    private Integer payType;

    @Schema(description = "支付状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("支付状态")
    private Integer payStatus;

    @Schema(description = "支付订单id", example = "3470")
    private Long payOrderId;

    @Schema(description = "负责人", requiredMode = Schema.RequiredMode.REQUIRED, example = "21549")
    private Long ownerUserId;

    @Schema(description = "支付时间")
    @ExcelProperty("支付时间")
    private LocalDateTime payTime;
    // 发货方式： 1- 虚拟发货；2-物流
    @Schema(description = "发货方式")
    @ExcelProperty("发货方式")
    private Integer deliveryType;

    @Schema(description = "发货状态")
    @ExcelProperty("发货状态")
    private Integer deliveryStatus;

    @Schema(description = "物流名称")
    @ExcelProperty("物流名称")
    private String deliveryName;

    @Schema(description = "物流单号")
    @ExcelProperty("物流单号")
    private String deliveryNo;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;




}